package com.ykq.system.vo;

/**
 * @program: qy151-springboot-vue
 * @description:
 * @author: 闫克起2
 * @create: 2022-08-08 10:11
 **/

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 接受登录参数的实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("登录参数的实体类")
public class LoginVo {
    //必须和前端请求的参数名相同
    @ApiModelProperty("账号")
    private String name;
    @ApiModelProperty("密码")
    private String password;
}
